<?php


//3AC6AA2E55F59EF85DB4476E94BA44090EB2DC2D38E02FF8749340821B1F166E&mobile=04F3ABCBB96F9A00607720AF078DDF3A&source=1
$key = "4f487acd"; //47120ACF  584d7bf2  d385a80b
$input = "D124491CA9132AFE6C8A8C49812D453822297B56A70DB480";
$decrypted_data = openssl_decrypt(hex2bin($input), "DES-CBC", $key,OPENSSL_RAW_DATA,$key);

echo $decrypted_data."\n";
$check = "41242150";

$decrypted_data = openssl_encrypt($check, "DES-CBC", $key,OPENSSL_RAW_DATA,$key);
echo strtoupper(bin2hex($decrypted_data));

$str ='{"source":1,"fromUser":{"openId":"1504649899","nickname":"zfliang"},"toUser":{"openId":"","nickname":"周俊佳"},"msgMode":2,"msgType":5,"buzType":"10086444","content":"11111"}';
echo "\n".strtolower(md5(mb_convert_encoding('app_idtest@wxb30d6afd7055d4b8@iflytektimestamp1607579108999{"source":1,"fromUser":{"openId":"1504649899","nickname":"zfliang"},"toUser":{"openId":"","nickname":"\u5468\u4fca\u4f73"},"msgMode":2,"msgType":5,"buzType":"10086444","content":"11111"}test@hk00123yxwkiflytek857', 'UTF-8')));
